package com.driving.single.common.redis.service;

public interface CommonRedisSendSmsService {
    Integer insertRegisterCodeToRedis(String phoneNumbers, String code);

    String selectRegisterCodeFromRedis(String phoneNumbers);

    Integer insertLoginCodeToRedis(String phoneNumbers, String code);

    String selectLoginCodeFromRedis(String phoneNumbers);

    Boolean deleteLoginCodeFromRedis(String phoneNumbers);
}
